package com.xingkeduo.pojo.table;

import com.xingkeduo.util.pojo.base.BaseTable;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.Alias;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.security.PrivateKey;

/**
 * 文件概述
 *
 * @author wangxilong <wangxilong@xingkeduo.com>
 * @version id:v0.1 18-12-29 下午7:08
 * @package BeautyOS
 * @copyright Copyright (c) XKD 2019
 */
@Data
@Accessors(chain = true)
@Alias("Manager")
public class ManagerTable extends BaseTable<ManagerTable> {

    private String name;

    private String salt;

    private String password;

    private String realname;

    private Integer sex;

    private String phone;

    private String email;

    private Long deptmentId;

    private String deptmentName;

    private Long postsId;

    private String postsName;

    private Long citiesId;

    private String citiesName;

    private Integer type;

    private Integer isadmin;

    private Integer status;

    private String createTimes;

}
